<style>
#msg-loading{position: fixed;width:100%;height:100%;left:0;top:0;z-index:100000}
#msg-loading>div{position:fixed;top:30%;left:50%;margin-left:-109px;width:218px;margin-top:-20px;background:#dffaf5;border-radius: 5px;}
#msg-loading #msg-loading-text{padding:10px;margin: 0 auto;text-align: center;color:#037a63}
</style>
<div id="msg-loading">
	<div>
		<div id="msg-loading-text" style="font-size:12px;">{if $msg}{$msg}{else}'无消息！'{/if}</div>
	</div>
</div>
<script>
if('{$redirect}'){
	setTimeout(function(){
		window.location.href="{$redirect}";
	},2000);
}else{
	window.history.back()
}
</script>